From: Glenn Morris Date: Fri, 6 Jan 2012 01:03:40 +0000 (-0500) Subject: * lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~1252 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=0f24ffcf0ae3c7a727a2aa62301f94bb3fa7bc06;p=emacs.git * lisp/calendar/calendar.el (calendar-mode): Locally set scroll-margin to 0. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b74e8c41ecb..eda072fe93a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-01-06 Glenn Morris + + * calendar/calendar.el (calendar-mode): + Locally set scroll-margin to 0. (Bug#10379) + 2012-01-06 Ulrich Mueller * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370) diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 6b20b014e16..905600cfb74 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el @@ -1730,6 +1730,7 @@ For a complete description, see the info node `Calendar/Diary'. (setq buffer-read-only t buffer-undo-list t indent-tabs-mode nil) + (set (make-local-variable 'scroll-margin) 0) ; bug#10379 (calendar-update-mode-line) (make-local-variable 'calendar-mark-ring) (make-local-variable 'displayed-month) ; month in middle of window